﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Newtonsoft.Json;

namespace mbine.msgc.model
{
    [JsonObject(MemberSerialization.OptIn)]
    public class CRelayMessage
    {
        [JsonProperty]
        public string mode { get; set; }
        [JsonProperty]
        public string sender { get; set; }
        [JsonProperty]
        public string roomkey { get; set; }
        [JsonProperty]
        public string mykey { get; set; }
        [JsonProperty]
        public string data { get; set; }

        public List<IUser> Members { get; set; }
        public DateTime sentdate { get; set; }
        public DateTime receivedate { get; set; }
    }
}
